package com.lz.app.controller;

import com.lz.app.bean.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/find")
    public List<User>find(){
        List<User> list=new ArrayList<>();
        list.add(new User(1,"li","123",0,
                "2022-06-25",null));
        return list;
    }
}

